'use client';

import { signOutAction } from '@gm/auth/server';
import { Button } from '@gm/shadcn-ui';

export default function SignOut({ children }: { children: React.ReactNode }) {
  return (
    <Button className="w-full" onClick={async () => await signOutAction()}>
      {children}
    </Button>
  );
}
